home *** CD-ROM | disk | FTP | other *** search
- Path: iclnet.org!usenet
- From: Olivier ABDOUN <adde@adde.fr>
- Newsgroups: comp.lang.c++
- Subject: Re: MSVC 4.0 DAO Problem
- Date: Fri, 19 Apr 1996 17:52:07 +0100
- Organization: A.D.D.E
- Message-ID: <3177C4B7.6486@adde.fr>
- References: <1996Apr19.052528.3821@njitgw.njit.edu>
- NNTP-Posting-Host: adde143.adde.fr
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (WinNT; I)
-
- Charles Hewitt wrote:
- >
- > Hello,
- >
- > I don't know if this is a problem that anyone else has run across
- > (heck, I am not even sure it is a problem), but I am having problems
- > ....
-
- Using DAO with MFC is like using MS Access: no "File Save" or "File Save As" command!
- When you use the Create method (for CDaoTableDef, CDaoQueryDef, CDaoRecordSet...), objects are directly created
- in database file. Idem when you add or edit a record in a recordset: the sequence Edit (AddNew) - SetFieldValue
- - Update assume the transaction with the file. In fact, this transaction is managed by the CDaoWorkspace
- (BeginTrans, CommitTrans/Rollback method), but you don't have to care if you work with the default workspace.
-
- Olivier.
-
- --
- // Olivier ABDOUN
- // A.D.D.E Logicels et Services de Cartographie
- // email: adde@adde.fr
- // Web: http://www.adde.fr
-